Skip to content

Conversation

@anoto-moniz
Copy link
Collaborator

@anoto-moniz anoto-moniz commented Feb 6, 2026

Modeled after gemd-python's TOML.

PR Type:

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Maintenance (non-breaking change to assist developers)

Adherence to team decisions

  • I have added tests for 100% coverage
  • I have written Numpy-style docstrings for every method and class.
  • I have communicated the downstream consequences of the PR to others.
  • I have bumped the version in __version__.py

token = jwt.encode(
payload={'exp': expiration.timestamp()},
key='garbage'
key='Actually_Triangle_Perhaps_Finally'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The updated pyjwt was warning about this key being too short.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to have this be a shared import, rather than a magic string that appears twice?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably. I'll include that adjustment on some other PR.

sphinx==7.1.2
sphinx-rtd-theme==2.0.0
sphinxcontrib-apidoc==0.4.0
sphinx==8.1.3
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sphinx 9.0 requires 3.12+.

@anoto-moniz anoto-moniz force-pushed the toml branch 3 times, most recently from d45d281 to c3ecc80 Compare February 10, 2026 17:46
@anoto-moniz anoto-moniz marked this pull request as ready for review February 10, 2026 17:52
@anoto-moniz anoto-moniz requested a review from a team as a code owner February 10, 2026 17:52
Copy link
Collaborator

@kroenlein kroenlein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and runs. I'm having some trouble forcing it to run tests against oldest supported, but I think that's a me-problem.

token = jwt.encode(
payload={'exp': expiration.timestamp()},
key='garbage'
key='Actually_Triangle_Perhaps_Finally'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to have this be a shared import, rather than a magic string that appears twice?

@anoto-moniz anoto-moniz merged commit 69ad4a3 into release/v4.0 Feb 10, 2026
5 checks passed
@anoto-moniz anoto-moniz deleted the toml branch February 10, 2026 18:52
anoto-moniz added a commit that referenced this pull request Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants